<h1>英雄详情业</h1>


<div *ngIf="hero">

  <h2>{{ hero.name | uppercase }} Details</h2>
  <div><span>编号: </span>{{ hero.id }}</div>
  <div>
    <label for="hero-name">英雄名称: </label>
    <input id="hero-name" [(ngModel)]="hero.name" placeholder="name">
  </div>
</div>
<button type="button" routerLink="../">返回</button>
